import request from '@/router/axios';
/**
 *获取每个offer下的素材待办
 */
export const getCreativeBacklog = () => request({
  url:'/api/beetles-business/offer/get-creative-backlog',
  method:'get',
})

/**
 *获取租户下未审核用户
 */
export const getNotAuditUser = () => request({
  url:'/api/blade-user/get-not-audit-user',
  method:'get',
})
/**
 * 统计活跃账户的分类
 */
export const statisticsPlatform = () => request({
  url:'/api/beetles-business/account/statistics-platform',
  method:'get',
})
/**
 * 获取订单统计数据
 */
export const getOfferByStatusGroup = () => request({
  url:'/api/beetles-business/offer/get-offer-by-status-group',
  method:'get',
})
/**
 * 获取订单数据图表
 */
export const getOfferByStatusCharts = (startMonth,endMonth) => request({
  url:'/api/beetles-business/index/offer/weekly/chart',
  method:'get',
  params:{
    startMonth,
    endMonth
  }
})
/**
 * 订单昨日数据
 */
export const getOfferYesterday = () => request({
  url:'/api/beetles-business/index/offer/yesterday/table',
  method:'get',
})
/**
 * 优化师昨日数据
 */
export const getOptimizerYesterday = () => request({
  url:'/api/beetles-business/index/optimizer/yesterday/table',
  method:'get',
})
/**
 * 素材在线情况
 */
export const statisticsOnlineCreative = () => request({
  url:'/api/beetles-offer/creative/statistics-online-creative',
  method:'get',
})
/**
 * 设计师昨日数据
 */
export const statisticsDesignerPerformance= ()=>request({
  url:'/api/beetles-offer/creative/statistics-designer-performance',
  method:'get',
})
